
<script type="text/javascript" src="js.js"></script>
<form id="MyFrom_49" name="MyFrom_49" enctype="multipart/form-data" method="post" action="{ykt:Save_url}">
<input name="gotourl" id="gotourl" type="hidden" value="{ykt:gotourl}" /><table cellpadding="0" align="center" width="95%" cellspacing="0" border="0">

<input name="FileName_1" id="FileName_1" type="hidden" class="InputNone" value="{ykt:FileName_1}"/>
<tr>
<td class="TdLine" width="140" align="right">全名:</td>
<td  class="TdLine"><input name="FileName_4" id="FileName_4" type="text" class="InputNone" value="{ykt:FileName_4}" size="90" />
<span id="FileName_4_Msg">　</span></td>
</tr>
<tr>
<td class="TdLine" width="140" align="right">封面图:</td>
<td  class="TdLine">
<input name="FileName_5" type="file" id="FileName_5">
<input name="FileName_5_path" type="hidden" value="{ykt:FileName_5}" id="FileName_5">
<span id="FileName_5_Msg">　</span> [已上传:<a href="{ykt:FileName_5}" target="_blank">{ykt:FileName_5}</a>]</td>
</tr>
<tr>
<td class="TdLine" width="140" align="right">摘要:</td>
<td  class="TdLine"><textarea name="FileName_6"  rows="8" cols="50" id="FileName_6" type="text" class="textarea">{ykt:FileName_6}</textarea>
<span id="FileName_6_Msg">　</span></td>
</tr>
<tr>
<td class="TdLine" width="140" align="right">内容:</td>
<td  class="TdLine">
<textarea name="FileName_7" id="FileName_7_editor">{ykt:FileName_7}</textarea>
<script type="text/jscript">
KindEditor.ready(function(K) {
	var editor = KindEditor.create("#FileName_7_editor",{
			 minWidth:700,
			 minHeight:300,
			 width:"90%",
			 height:500
			});
})
</script><span id="FileName_7_Msg"></span></td>
</tr>
<tr><td align="center" height="30" colspan="2"><span id="pilianadd" style="display:none">添加<input name="SuperNum" type="text" id="SuperNum" value="1" size="4" maxlength="2">条</span><input name="submit" onclick="return CheckFrom()" type="submit" value=" 保 存 " />&nbsp;&nbsp;<input type="button" value=" 取 消 " onclick="javascript:window.history.go(-1)" /></td></tr></table>
</form>
<script type="text/javascript">function CheckFrom(){
document.getElementById("FileName_4_Msg").innerHTML=CharLen(document.getElementsByName("FileName_4")[0].value,0,100,"<font color='red'></font>");
if(document.getElementById("FileName_4_Msg").innerHTML.length>0){
					document.getElementsByName("FileName_4")[0].select();
					return false;
					}
document.getElementById("FileName_5_Msg").innerHTML=CharLen(document.getElementsByName("FileName_5")[0].value,0,1000,"<font color='red'></font>");
if(document.getElementById("FileName_5_Msg").innerHTML.length>0){
					document.getElementsByName("FileName_5")[0].select();
					return false;
					}
document.getElementById("FileName_6_Msg").innerHTML=CharLen(document.getElementsByName("FileName_6")[0].value,0,500,"<font color='red'></font>");
if(document.getElementById("FileName_6_Msg").innerHTML.length>0){
					document.getElementsByName("FileName_6")[0].select();
					return false;
					}

}
</script>